
DIRS=\
	lib\
	ofs\
	mux\
	../MacOSX\
	../Plan9\

TARG=\
	oxport.dis\
	plumbing.dis\
	voice.dis\
	spool.dis\
	watcher.dis\
	termrc\
	pcrc\
	newterm\
	pcns\
	ons\

SYSMODULES=\
	error.m\
	mvoice.m\
	netget.m\
	netutil.m\
	op.m\
	opmux.m\
	os.m\
	query.m\
	spooler.m\
	tbl.m\

DISBIN=/dis/o

<mkdis

all:V:	all-subdir
install:V: install-subdir
uninstall:V: uninstall-subdir
nuke:V: nuke-subdir
clean:V: clean-subdir

%-subdir:QV:
	d=`{pwd}
	for j in $DIRS { cd $d/$j; pwd ; mk $MKFLAGS $stem }
 	cd $d

$DISBIN/termrc: termrc
	cp termrc $DISBIN
$DISBIN/pcrc: pcrc
	cp pcrc $DISBIN
$DISBIN/newterm: newterm
	cp newterm $DISBIN
$DISBIN/pcns: pcns
	cp pcns $DISBIN
$DISBIN/ons: ons
	cp ons $DISBIN
